package com.bjpowernode.task;

import java.io.Serializable;

/**
 * MyRunnable
 *
 * @author Cat老师，关注我，抖音搜索：java512
 */
public class MyRunnable implements Runnable, Serializable {

    private int i;

    public MyRunnable(int i) {
        this.i = i;
    }

    @Override
    public void run() {
        System.out.println(Thread.currentThread().getName() + ": " + this.i);
    }
}
